package ExamLab.Test3;

public class SuperExpo{

    public static void main(String args[]){

         try{

              try{
                   throw new InterruptedException("Sun Certified ");
              }catch(Exception e){
                   Throwable t=e;
                   e.printStackTrace();
                   throw t;
              }finally{
                   System.out.print("Finally-A ");
              }

         }catch(InterruptedException ie){
              System.out.print("Interrupted ");

         }catch(RuntimeException re){
              System.out.print("Runtime ");

         }catch(Throwable te){
              System.out.print("Throwable ");

         }finally{
              System.out.print("Finally-B ");
         }

    }

}
